package com.st.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;


/**
 * 风险体检题目对象 st_risk_assessment_questions
 *
 * @author zhw
 * @date 2024-10-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("st_risk_assessment_questions")
public class StRiskAssessmentQuestions implements Serializable
        {
private static final long serialVersionUID = 1L;

    /** 题目编号 */
        @TableId(value="id",type=IdType.AUTO)
    private Integer id;

    /** 题目分类 */
            @Excel(name = "题目分类")
        @TableField(value = "category")
    private String category;

    /** 题目类型  */
            @Excel(name = "题目类型 ")
        @TableField(value = "question_type")
    private Integer questionType;

    /** 题干 */
            @Excel(name = "题干")
        @TableField(value = "question")
    private String question;

    /** 选项A */
            @Excel(name = "选项A")
        @TableField(value = "option_a")
    private String optionA;

    /** 选项B */
            @Excel(name = "选项B")
        @TableField(value = "option_b")
    private String optionB;

    /** 选项C */
            @Excel(name = "选项C")
        @TableField(value = "option_c")
    private String optionC;

    /** 选项D */
            @Excel(name = "选项D")
        @TableField(value = "option_d")
    private String optionD;

    /** 正确答案 */
        @TableField(value = "correct_answer")
    private String correctAnswer;

    /** 解析 */
        @TableField(value = "explanation")
    private String explanation;

    /** 分值 */
            @Excel(name = "分值")
        @TableField(value = "score")
    private Integer score;

    /** 风险提示 */
        @TableField(value = "risk_warning")
    private String riskWarning;

    /** 风险分析 */
        @TableField(value = "risk_analysis")
    private String riskAnalysis;

    /** 防范建议 */
        @TableField(value = "prevention_advice")
    private String preventionAdvice;



}
